import com.sun.xml.internal.fastinfoset.tools.XML_SAX_StAX_FI;

public class array7 {
    public static void main(String[] args) {
        int[]arr={33,5,22,4,55};
        int max=arr[0];
        for (int i = 1; i < arr.length; i++) {
            if (arr[i]<max){
                max=arr[i];
            }
        }
        System.out.println(max);
    }
}

